make backup
cd ..;  find tagger-1.0 | egrep '.svn' > exclude; tar zcvf tagger_`date +%y%m%d`_`date +%H`.tgz tagger-1.0 -X exclude; rm exclude; mv *.tgz /maxima/tagger/sources/; cd -
make rpm
cd /usr/src/rpm/RPMS/i386/; alien -d --scripts *.rpm
echo "Copying to /home/bindu/backups/ folder ..."
cp /usr/src/rpm/RPMS/i386/tagger*  /home/bindu/backups/
cp /usr/src/rpm/SRPMS/tagger* /home/bindu/backups/
echo

echo "Moving to /home/bindu/backups/ folder ..."
mv /usr/src/rpm/RPMS/i386/tagger* /maxima/tagger/packages
mv /usr/src/rpm/SRPMS/tagger* /maxima/tagger/sources
cp /usr/src/rpm/SOURCES/tagger-1.0/ChangeLog /maxima/tagger/packages/changes.log
cp /usr/src/rpm/SOURCES/tagger-1.0/ReadMe /maxima/tagger/packages/readme
echo

echo "Listing all files on maxima server ..."
ls -lh /maxima/tagger/sources
ls -lh /maxima/tagger/packages
